// Have include guard.
#ifndef ASYNCSTATUSFINISHSTATE_H
#define ASYNCSTATUSFINISHSTATE_H

// Include files.
#include "State.hpp"

// Have prototype.
class AsyncStatusStartState;

/**
 *  The AsyncStatusFinishState class waits on the AsyncStatus of an AsyncStatusStartState to finish.
 *  
 *  This class is untested.
 */
class AsyncStatusFinishState :
	public State
{
	public:
		AsyncStatusFinishState(AsyncStatusStartState &startState);
	protected:
		virtual ~AsyncStatusFinishState();
		virtual void PeriodicImpl();
	private:
		AsyncStatusStartState &m_startState;
};

#endif // #ifndef ASYNCSTATUSFINISHSTATE_H 
